<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title><?php echo $title ?></title>
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <link rel="Stylesheet" type="text/css" href="./style.css" />
    <?php
    foreach( $scripts as $s )
        echo '<script type="text/javascript" src="' . Uri::static_path() . $s . '"></script>';
    ?>
</head>
<body>
    <div id="header">
        <h1><?php echo $title ?></h1>
        <div id="menu">
        	<ul>
            	<?php
            	foreach( $menu as $m )
            	    echo '<li><a href="' . $m[ 'uri' ] . '" title="' . $m[ 'name' ] . '">' . $m[ 'name' ] . '</a></li>';
            	?>
        	</ul>
        </div>
    </div>
    <div id="footer">Copyright &copy; 2011 by TheCube.</div>
</body>
</html>